package com.jhhc.RHDB.RiverForecast.Calculate.service.impl;

import com.jhhc.RHDB.RiverForecast.Calculate.dao.HY_DQ_CDao;
import com.jhhc.RHDB.RiverForecast.Calculate.entity.HY_DQ_C;
import com.jhhc.RHDB.RiverForecast.Calculate.service.HY_DQ_CService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (HyDqC)表服务实现类
 *
 * @author makejava
 * @since 2023-08-28 18:08:52
 */
@Service("HY_DQ_CService")
public class HY_DQ_CServiceImpl implements HY_DQ_CService {
    @Resource
    private HY_DQ_CDao hyDqCDao;


    @Override
    public HY_DQ_C queryByDt(int year, int month, int day) {
        return hyDqCDao.queryByDt(year, month, day);
    }

    @Override
    public List<HY_DQ_C> queryModel(String startTime, String endTime) {
        return hyDqCDao.queryModel(startTime, endTime);
    }
}
